<template>
  <div>
    <div class="header">
      <span @click="fun()">&lt;</span>
      <span @click="fun()">x</span>
      <span>中国移动权益超市</span>
    </div>
    <nav>
      <ul>
        <li>首页</li>
        <li>分类</li>
        <li><router-link to="/wo">我的</router-link></li>
      </ul>
      <div class="yuan"></div>
      <span>尊敬的182****6308用户</span>
    </nav>
    <div class="banner">
      <img src="img/zhangimg/wode/1.gif" alt="" />
    </div>
    <main>
      <h1>黄金会员尊享6大权益</h1>
      <div class="tu">
        <img src="img/zhangimg/wode/2.gif" alt="" />
        <img src="img/zhangimg/wode/3.gif" alt="" />
        <img src="img/zhangimg/wode/4.gif" alt="" />
        <img src="img/zhangimg/wode/5.gif" alt="" />
        <img src="img/zhangimg/wode/6.gif" alt="" />
        <img src="img/zhangimg/wode/7.gif" alt="" />
      </div>
      <div class="tu1">
        <img src="img/zhangimg/wode/8.gif" alt="" />
        <img src="img/zhangimg/wode/9.gif" alt="" />
        <img src="img/zhangimg/wode/10.gif" alt="" />
      </div>
    </main>
    <section>
      <h2>我的订单</h2>
      <div class="dan">
        <img src="img/zhangimg/wode/11.gif" alt="" />
        <img src="img/zhangimg/wode/12.gif" alt="" />
        <img src="img/zhangimg/wode/13.gif" alt="" />
        <img src="img/zhangimg/wode/14.gif" alt="" />
      </div>
      <h2>热门会员5折购<span>每月可5折订购1款会员</span></h2>
      <div class="dongtu">
        <img src="img/zhangimg/wode/15.gif" alt="" />
        <img src="img/zhangimg/wode/16.gif" alt="" />
        <img src="img/zhangimg/wode/17.gif" alt="" />
        <img src="img/zhangimg/wode/18.gif" alt="" />
        <img src="img/zhangimg/wode/19.gif" alt="" />
        <img src="img/zhangimg/wode/20.gif" alt="" />
        <img src="img/zhangimg/wode/21.gif" alt="" />
        <img src="img/zhangimg/wode/22.gif" alt="" />
        <img src="img/zhangimg/wode/23.gif" alt="" />
      </div>
      <h2>更多推荐</h2>
      <div class="dan">
        <img src="img/zhangimg/wode/24.gif" alt="" />
        <router-link to="/gongyi"><img src="img/zhangimg/wode/25.gif" alt="" /></router-link>
        <img src="img/zhangimg/wode/26.gif" alt="" />
        <img src="img/zhangimg/wode/27.gif" alt="" />
      </div>
      <h3>热卖权益</h3>
      <div class="big-box">
        <img src="img/zhangimg/wode/28.gif" alt="" />
        <img src="img/zhangimg/wode/29.gif" alt="" />
        <img src="img/zhangimg/wode/30.gif" alt="" />
        <img src="img/zhangimg/wode/31.gif" alt="" />
        <img src="img/zhangimg/wode/32.gif" alt="" />
        <img src="img/zhangimg/wode/33.gif" alt="" />
        <img src="img/zhangimg/wode/34.gif" alt="" />
        <img src="img/zhangimg/wode/35.gif" alt="" />
        <img src="img/zhangimg/wode/36.gif" alt="" />
        <img src="img/zhangimg/wode/37.gif" alt="" />
        <img src="img/zhangimg/wode/38.gif" alt="" />
        <img src="img/zhangimg/wode/39.gif" alt="" />
        <img src="img/zhangimg/wode/40.gif" alt="" />
        <img src="img/zhangimg/wode/41.gif" alt="" />
        <img src="img/zhangimg/wode/42.gif" alt="" />
        <img src="img/zhangimg/wode/43.gif" alt="" />
        <img src="img/zhangimg/wode/44.gif" alt="" />
        <img src="img/zhangimg/wode/45.gif" alt="" />
        <img src="img/zhangimg/wode/46.gif" alt="" />
        <img src="img/zhangimg/wode/47.gif" alt="" />
        <img src="img/zhangimg/wode/48.gif" alt="" />
        <img src="img/zhangimg/wode/49.gif" alt="" />
        <img src="img/zhangimg/wode/50.gif" alt="" />
        <img src="img/zhangimg/wode/51.gif" alt="" />
        <img src="img/zhangimg/wode/52.gif" alt="" />
        <img src="img/zhangimg/wode/53.gif" alt="" />
        <img src="img/zhangimg/wode/54.gif" alt="" />
        <img src="img/zhangimg/wode/55.gif" alt="" />
        <img src="img/zhangimg/wode/56.gif" alt="" />
        <img src="img/zhangimg/wode/57.gif" alt="" />
      </div>
    </section>
    <footer>我是有底线的~</footer>
  </div>
</template>

<script>
export default {
  methods: {
    fun() {
      this.$router.go(-1);
    },
  },
};
</script>

<style scoped>
.header {
  width: 3.6rem;
  height: 0.5rem;
  line-height: 0.5rem;
}
.header span:nth-child(1) {
  margin: 0.2rem 0.2rem 0 0.14rem;
  font-size: 0.25rem;
}
.header span:nth-child(2) {
  margin-right: 1rem;
  font-size: 0.25rem;
}
.header span:nth-child(3) {
  font-size: 0.18rem;
  font-weight: 900;
}
nav {
  width: 100%;
  height: 1.58rem;
  background: #41b3e5;
  position: relative;
}
nav ul {
  width: 3.6rem;
  position: fixed;
  z-index: 999;
  margin-top: 14px;
}
nav li {
  float: left;
  margin-left: 0.2rem;
  font-size: 18px;
  color: black;
}
nav .yuan {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: white;
  border: 1px solid gray;
  position: absolute;
  top: 50%;
  margin-top: -0.24rem;
  left: 0.2rem;
}
nav span {
  color: white;
  position: absolute;
  top: 50%;
  margin-top: -0.1rem;
  left: 0.9rem;
}
.banner {
  width: 100%;
  height: 0.58rem;
  text-align: center;
  position: absolute;
  top: 1.8rem;
  left: 0;
}
.banner img {
  width: 3.31rem;
  height: 0.58rem;
}
main {
  width: 100%;
  height: 2.12rem;
  margin-top: 0.35rem;
}
main h1 {
  font-size: 0.16rem;
  width: 100%;
  height: 0.62rem;
  text-align: center;
  line-height: 0.62rem;
}
main .tu {
  width: 100%;
  height: 0.71rem;
  display: flex;
  justify-content: space-around;
}
main .tu1 {
  width: 100%;
  text-align: center;
  margin-top: 0.11rem;
}
main .tu1 img {
  width: 1.2rem;
  height: 0.64rem;
}
section {
  width: 100%;
  height: 21.88rem;
  background: #f7f8fc;
}
section h2 {
  width: 3.6rem;
  height: 0.46rem;
  font-size: 0.16rem;
  line-height: 0.56rem;
  margin-left: 0.14rem;
}
section .dan {
  width: 3.6rem;
  height: 0.84rem;
  margin-left: 0.14rem;
  display: flex;
  justify-content: space-around;
  background: white;
  border-radius: 0.2rem;
}
section .dan img {
  height: 0.7rem;
}
section h2 span {
  font-size: 0.1rem;
  color: #a1a2a6;
  margin-left: 0.08rem;
}
section .dongtu {
  width: 3.6rem;
  height: 1.8rem;
  background: white;
  border-radius: 0.2rem;
  margin-left: 0.14rem;
  display: flex;
  align-items: center;
  flex: 1;
  overflow: auto;
}
section .dongtu img {
  margin-left: 0.1rem;
  width: 0.87rem;
  height: 1.45rem;
}
section h3 {
  width: 3.6rem;
  height: 0.46rem;
  font-size: 0.16rem;
  line-height: 0.56rem;
  margin-left: 0.14rem;
  text-align: center;
  color: red;
}
section .big-box {
  width: 3.6rem;
  margin-left: 0.14rem;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}
section .big-box img {
  width: 1.04rem;
  height: 1.5rem;
}
footer {
  width: 100%;
  height: 0.5rem;
  text-align: center;
  line-height: 0.5rem;
  background: #f7f8fc;
  color: #9a9ba1;
}
</style>